package com.Core;

public class GameAnimation
{	public final static int[]	NullSlop = {};
	public final static int[][]	NullTexPos =
		{	{4,3}
		};
	public final static int[]	RockSlop = {};
	public final static int[][]	RockTexPos =
		{	{2,2}
		};
	public final static int[]	TornadoSlop = {};
	public final static int[][]	TornadoTexPos =
		{	{3,2}
		};
	public final static int[]	GhostShipSlop = {};
	public final static int[][]	GhostShipTexPos =
		{	{0,3}
		};
	public final static int[]	PearlSlop = {};
	public final static int[][]	PearlTexPos =
		{	{1,2}
		};
	public final static int[]	ShellSlop = {};
	public final static int[][]	ShellTexPos =
		{	{4,2}
		};
	public final static int[]	CorailSlop = {};
	public final static int[][]	CorailTexPos =
		{	{0,0}
		};
	public final static int[]	SmallFishSlop = {};
	public final static int[][]	SmallFishTexPos =
		{	{1,0}
		};
	public final static int[]	MediumFishSlop = {};
	public final static int[][]	MediumFishTexPos =
		{	{2,0}
		};
	public final static int[]	BigFishSlop = {};
	public final static int[][]	BigFishTexPos =
		{	{3,0}
		};
	public final static int[]	GiantFishSlop = {};
	public final static int[][]	GiantFishTexPos =
		{	{4,0}
		};
	public final static int[]	MermaidSlop = {};
	public final static int[][]	MermaidTexPos =
		{	{0,1}
		};
	public final static int[]	ShipSlop = {};
	public final static int[][]	ShipTexPos =
		{	{1,1}
		};
	public final static int[]	ShipwreckSlop = {};
	public final static int[][]	ShipwreckTexPos =
		{	{2,1}
		};
	public final static int[]	TreasureSlop = {};
	public final static int[][]	TreasureTexPos =
		{	{4,1}
		};
	public final static int[]	TreasureMapSlop = {};
	public final static int[][]	TreasureMapTexPos =
		{	{3,1}
		};
	public final static int[]	PoseidonSlop = {};
	public final static int[][]	PoseidonTexPos =
		{	{0,2}
		};
	
	//----Translate Animation: GameLogic
	public static final int		transSlop		=	120;
	public static final int		transPhases		=	32;
	//----Scale Animation: GameLogic
	public static final float	scaleUpperBound	= 1.0f;
	public static final float 	scaleLowerBound	= 0.6f;
	public static final float 	scaleStep		= 0.1f;
	public static final int   	scaleSlop		= 3;
	private static float	  	scaleRatio		= 1.0f;
	private static boolean	  	scaleDown		= true;
	public static float getScaleRatio()
	{	return scaleRatio;		
	}
	public static void ResetScaleRatio()
	{	scaleRatio=1.0f;
	}
	public static void NextRatio()
	{	if (scaleDown)
		{	if (scaleRatio>scaleLowerBound) scaleRatio-=scaleStep;
			else
			{	scaleDown=false;
				scaleRatio+=scaleStep;
			}
		}
		else
		{	if (scaleRatio<scaleUpperBound) scaleRatio+=scaleStep;
			else
			{	scaleDown=true;
				scaleRatio-=scaleStep;
			}
		}
	}
}
